//
//  Shader.vsh
//  CH04_Example03
//
//  Created by 葛 剑峰 on 12-6-7.
//  Copyright (c) 2012年 Dream and Talent. All rights reserved.
//

attribute vec4 position;

uniform float deltaX;
uniform float deltaY;

void main()
{
    gl_Position = position;
    gl_Position.x += sin(deltaX) / 2.0;
    gl_Position.y += sin(deltaY) / 3.0;
}